<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <style>
        * {
            padding: 0;
            margin: 0;
            box-sizing: border-box;
        }

        .container {
            width: 800px;
            margin: 20px auto;
        }

        .form-group {
            margin: 15px 0;
        }

        .form-control {
            height: 40px;
            padding: 10px;
            width: 100%;
            border: 1px solid #DDD;
            border-radius: 4px;
        }

        tr {
            height: 60px;
            text-align: center;
        }


        .active {
            background-color: #EEE;
        }

        table {
            width: 100%;
        }

        table,
        th,
        td {
            border: 1px solid #CCC;
            /* 合并边框 */
            border-collapse: collapse;
        }



        .btn {
            border: 0;
            width: 70px;
            line-height: 35px;
            text-align: center;
            color: #555;
            background: #EEE;
            border-radius: 4px;
            cursor: pointer;
            font-weight: 700;
            outline: 0;
            margin: 0 2px;
        }

        .btn.danger {
            background-color: #D9534F;
            color: #FFF;
        }

        .btn.success {
            background-color: #337AB7;
            color: #FFF;
        }

        .line {
            border-bottom: 1px solid #DDD;
            margin: 10px 0;
        }
    </style>

</head>

<body>
    <div class="container">
        <h1>品牌管理</h1>
        <div class="line"></div>
        <div class="form-group">
            <input class="form-control" type="text" placeholder="请输入品牌名称">
        </div>
        <div class="line"></div>
        <table cellpadding="0" cellspacing="0" width="100%">
            <thead>
                <tr class="active">
                    <td width="120">id</td>
                    <td>品牌名称</td>
                    <td>添加时间</td>
                    <td>操作</td>
                </tr>
            </thead>
            <tbody>
                <tr>
                    <td>3</td>
                    <td>特斯拉</td>
                    <td>2020-11-11</td>
                    <td>
                        <button class="btn danger">删除</button>
                        <button class="btn success">编辑</button>
                    </td>
                </tr>
                <tr>
                    <td>2</td>
                    <td>蔚来</td>
                    <td>2020-11-11</td>
                    <td>
                        <button class="btn danger">删除</button>
                        <button class="btn success">编辑</button>
                    </td>
                </tr>
                <tr>
                    <td>3</td>
                    <td>小鹏</td>
                    <td>2020-11-11</td>
                    <td>
                        <button class="btn danger">删除</button>
                        <button class="btn success">编辑</button>
                    </td>
                </tr>
            </tbody>
        </table>
    </div>
</body>
<script>

</script>

</html>